<template>
	<view class='p_30'>
		<view class='courseBox' v-for="(item, index) in list" :key="index">
			<view class='leftCont'>
				<image :src='item.src'></image>
			</view>
			<view class='rightCont'>
				<view>
					<view class='fs_30'>{{item.title}}</view>
					<view class='orderInfo color_9d'>{{item.hour}}课时 | {{item.num}}收藏</view>
				</view>
				<view class='justify_between'>
					<view class='price'>￥{{item.price}}<text>（会员免费）</text></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [
					{
						src: '../../static/img_kecheng2x.png',
						title: '英语零基础直达大学四级',
						hour: 36,
						num: 1210,
						price: 399
					},
					{
						src: '../../static/img_kecheng2x.png',
						title: '英语零基础直达大学四级',
						hour: 36,
						num: 1210,
						price: 399
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.courseBox {
		display: flex;
		background: #fff;
		padding: 30rpx;
		margin-bottom: 20rpx;
		border-radius: 10rpx;
	}

	.leftCont image {
		width: 220rpx;
		height: 162rpx;
		display: block;
	}

	.cardImg {
		width: 294rpx;
		height: 194rpx;
	}

	.rightCont {
		width: 100%;
		margin-left: 30rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.notFull {
		color: #ec691a;
	}

	.full {
		color: #aaa;
	}

	.orderInfo {
		font-size: 24rpx;
		line-height: 2;
	}

	.price {
		font-size: 34rpx;
		color: #f14927;
	}

	.price text {
		font-size: 24rpx;
		color: #b48a59;
	}

	.tryLook {
		font-size: 22rpx;
		color: #4F88FE;
	}
</style>
